package com.sunny.ynhz.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by huhuan123 on 2018/5/24.
 */

public class SeasureAppBean {

    /**
     * code : 1
     * data : {"currentPage":1,"pageSize":10,"pageTotal":1,"recordTotal":1,"previousPage":1,"nextPage":1,"firstPage":1,"lastPage":1,"content":[{"id":"","problemid":"20180523-154250-0001","situation":"","type":"1","time":"2018-05-23 15:42:50","endTime":"","position":"云南省红河哈尼族彝族自治州蒙自市兴隆路26号靠近蒙自市农业局","describe":"kskdkdkdkd","patrolid":"","picture":"","video":"","lgtd":103.38597764756945,"lttd":23.371490071614584,"userId":"ee96cd749fe84288b9fc673483417616","state":"1","proResource":"0","addvcd":"532501000000","nativeprocessing":"0","cuur_userId":"","matterName":"养殖污染","ispatrol":"","sectionId":"","reachId":"","userName":"李国荣","officeName":"","mobile":"","wxName":"","problemCode":"","isCitizen":""}]}
     */

    private String code;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * currentPage : 1
         * pageSize : 10
         * pageTotal : 1
         * recordTotal : 1
         * previousPage : 1
         * nextPage : 1
         * firstPage : 1
         * lastPage : 1
         * content : [{"id":"","problemid":"20180523-154250-0001","situation":"","type":"1","time":"2018-05-23 15:42:50","endTime":"","position":"云南省红河哈尼族彝族自治州蒙自市兴隆路26号靠近蒙自市农业局","describe":"kskdkdkdkd","patrolid":"","picture":"","video":"","lgtd":103.38597764756945,"lttd":23.371490071614584,"userId":"ee96cd749fe84288b9fc673483417616","state":"1","proResource":"0","addvcd":"532501000000","nativeprocessing":"0","cuur_userId":"","matterName":"养殖污染","ispatrol":"","sectionId":"","reachId":"","userName":"李国荣","officeName":"","mobile":"","wxName":"","problemCode":"","isCitizen":""}]
         */

        private int currentPage;
        private int pageSize;
        private int pageTotal;
        private int recordTotal;
        private int previousPage;
        private int nextPage;
        private int firstPage;
        private int lastPage;
        private List<ContentBean> content;

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPageTotal() {
            return pageTotal;
        }

        public void setPageTotal(int pageTotal) {
            this.pageTotal = pageTotal;
        }

        public int getRecordTotal() {
            return recordTotal;
        }

        public void setRecordTotal(int recordTotal) {
            this.recordTotal = recordTotal;
        }

        public int getPreviousPage() {
            return previousPage;
        }

        public void setPreviousPage(int previousPage) {
            this.previousPage = previousPage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public static class ContentBean implements MultiItemEntity {
            /**
             * id :
             * problemid : 20180523-154250-0001
             * situation :
             * type : 1
             * time : 2018-05-23 15:42:50
             * endTime :
             * position : 云南省红河哈尼族彝族自治州蒙自市兴隆路26号靠近蒙自市农业局
             * describe : kskdkdkdkd
             * patrolid :
             * picture :
             * video :
             * lgtd : 103.38597764756945
             * lttd : 23.371490071614584
             * userId : ee96cd749fe84288b9fc673483417616
             * state : 1
             * proResource : 0
             * addvcd : 532501000000
             * nativeprocessing : 0
             * cuur_userId :
             * matterName : 养殖污染
             * ispatrol :
             * sectionId :
             * reachId :
             * userName : 李国荣
             * officeName :
             * mobile :
             * wxName :
             * problemCode :
             * isCitizen :
             */

            private String id;
            private String problemid;
            private String situation;
            private String type;
            private String time;
            private String endTime;
            private String position;
            private String describe;
            private String patrolid;
            private String picture;
            private String video;
            private double lgtd;
            private double lttd;
            private String userId;
            private String state;
            private String proResource;
            private String addvcd;
            private String nativeprocessing;
            private String cuur_userId;
            private String matterName;
            private String ispatrol;
            private String sectionId;
            private String reachId;
            private String userName;
            private String officeName;
            private String mobile;
            private String wxName;
            private String problemCode;
            private String isCitizen;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getProblemid() {
                return problemid;
            }

            public void setProblemid(String problemid) {
                this.problemid = problemid;
            }

            public String getSituation() {
                return situation;
            }

            public void setSituation(String situation) {
                this.situation = situation;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }

            public String getDescribe() {
                return describe;
            }

            public void setDescribe(String describe) {
                this.describe = describe;
            }

            public String getPatrolid() {
                return patrolid;
            }

            public void setPatrolid(String patrolid) {
                this.patrolid = patrolid;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getVideo() {
                return video;
            }

            public void setVideo(String video) {
                this.video = video;
            }

            public double getLgtd() {
                return lgtd;
            }

            public void setLgtd(double lgtd) {
                this.lgtd = lgtd;
            }

            public double getLttd() {
                return lttd;
            }

            public void setLttd(double lttd) {
                this.lttd = lttd;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getProResource() {
                return proResource;
            }

            public void setProResource(String proResource) {
                this.proResource = proResource;
            }

            public String getAddvcd() {
                return addvcd;
            }

            public void setAddvcd(String addvcd) {
                this.addvcd = addvcd;
            }

            public String getNativeprocessing() {
                return nativeprocessing;
            }

            public void setNativeprocessing(String nativeprocessing) {
                this.nativeprocessing = nativeprocessing;
            }

            public String getCuur_userId() {
                return cuur_userId;
            }

            public void setCuur_userId(String cuur_userId) {
                this.cuur_userId = cuur_userId;
            }

            public String getMatterName() {
                return matterName;
            }

            public void setMatterName(String matterName) {
                this.matterName = matterName;
            }

            public String getIspatrol() {
                return ispatrol;
            }

            public void setIspatrol(String ispatrol) {
                this.ispatrol = ispatrol;
            }

            public String getSectionId() {
                return sectionId;
            }

            public void setSectionId(String sectionId) {
                this.sectionId = sectionId;
            }

            public String getReachId() {
                return reachId;
            }

            public void setReachId(String reachId) {
                this.reachId = reachId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getOfficeName() {
                return officeName;
            }

            public void setOfficeName(String officeName) {
                this.officeName = officeName;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getWxName() {
                return wxName;
            }

            public void setWxName(String wxName) {
                this.wxName = wxName;
            }

            public String getProblemCode() {
                return problemCode;
            }

            public void setProblemCode(String problemCode) {
                this.problemCode = problemCode;
            }

            public String getIsCitizen() {
                return isCitizen;
            }

            public void setIsCitizen(String isCitizen) {
                this.isCitizen = isCitizen;
            }

            @Override
            public int getItemType() {
                return 1;
            }
        }
    }
}
